---@class Battle.AiCanMoveCondition:Battle.AiCondition
---@field New fun():Battle.AiCanMoveCondition
local AiCanMoveCondition = Battle.CreateClass("AiCanMoveCondition",Battle.AiCondition)
Battle.AiCanMoveCondition = AiCanMoveCondition

function AiCanMoveCondition:Awake()
    
end
function AiCanMoveCondition:onInitialize()
    local actor = self:GetActor()
    self:SetCondition( actor.effectStateSystem:CanMove(),true,Battle.CompareType.Equals)
end

function AiCanMoveCondition:ToString()
    local s = Battle.AiBehavior.ToString(self)
    return s.." condition:"..tostring(self:IsTrigger())
end